<template>
    <div>

        <ConferenceMainView></ConferenceMainView>
    </div>
</template>
<script lang="ts" setup>
import { ConferenceMainView } from '@tencentcloud/roomkit-web-vue3';
import { conference } from '@tencentcloud/roomkit-web-vue3';
import { onMounted } from "vue";
const joinConference = async () => {
    await conference.login({
        // 获取 sdkAppId 可参考文档开通服务部分，https://write.woa.com/document/139678220708134912#d9d2b8d1-f19f-441b-a436-457748c94997
        sdkAppId: 1600075598,
        // 用户在您业务中的唯一标示 Id
        userId: 'cat',
        // 本地开发调试可在 https://console.cloud.tencent.com/trtc/usersigtool 页面快速生成 userSig, 注意 userSig 与 userId 为一一对应关系
        userSig: 'eJyrVgrxCdYrSy1SslIy0jNQ0gHzM1NS80oy0zLBwsmJJVDh4pTsxIKCzBQlK0MzAwMDc1NTSwuITGpFQWZRKlDc1NTUCCgFES3JzAWJmZsYGlhYGJkbQU3JTAeaWpVnqm2UV1no5xviWu6U5JERbBJS7JPqWeHjnVoVEBXo6WYRGBrgExFqmG2rVAsArXUwlg__',
    });
    await conference.join('123456', {
        isOpenCamera: false,
        isOpenMicrophone: false,
    });
}
onMounted(() => {
    joinConference()
});

</script>

<style lang="scss" scoped></style>